package com.sjf.day02.Recursion;

/**
 * @author <huangtang>
 * @since 2021/12/23 15:28
 **/
public class RecursionTest {

    public static void main(String[] args) {
        test(4);
    }

    public static void test(int n){
        if(n>2){
            test(n-1);
        }
        System.out.println("n："+n);
    }
}
